package com.yenlien.traceyun.breed.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.yenlien.traceyun.business.entity.TraceScanEntity;
import com.yenlien.traceyun.business.trace.Trace;

/**
 * 召回实体类
 *
 * @author maybe
 * @date 2020年9月29日
 */

@Deprecated
//@Entity
//@Table(name = "t_breed_recall")
//@Trace(appName = "breed",stepName = "recall", order = 10, ended = false)
public class Recall extends TraceScanEntity {
    //	@Column
//	private String type;			//召回 
//	@Column
//	private String sourceCode;		//溯源码
    @Column
    private String link;            //召回范围
    @Column
    private String batch;            //召回批次
    @Column
    private String time;            //召回时间
    @Column
    private String seedName;        //召回的种苗名称
    @Column
    private String breedName;        //召回的品种名称
    @Column
    private String recallUser;        //召回人
    @Column
    private String userName;        //操作人姓名
    @Column
    private String reason;            //召回原因

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSeedName() {
        return seedName;
    }

    public void setSeedName(String seedName) {
        this.seedName = seedName;
    }

    public String getBreedName() {
        return breedName;
    }

    public void setBreedName(String breedName) {
        this.breedName = breedName;
    }

    public String getRecallUser() {
        return recallUser;
    }

    public void setRecallUser(String recallUser) {
        this.recallUser = recallUser;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
